package com.naiterui.ehp.bs.esign.api.bjca.vo;

import lombok.Builder;
import lombok.Data;

import java.util.Date;

/**
 * @author guoyongxiang
 * @date 2019/11/30 11:05
 * @since 1.0.0
 */
@Builder
@Data
public class SignFileUploadVO {

    /**
     * 签章坐标：x>50, y>50
     */
    public static final float STATMP_X = 425;
    public static final float STATMP_Y = 105;

    public final static String USER_TYPE_DR = "0";
    public final static String USER_TYPE_PH = "1";
    public final static String USER_TYPE_AL_PH = "2";

    /** 签名用户类型 */
    private String signUserType;
    /** 签名用户ID */
    private Long signUserId;
    /** 签名文件类型 */
    private String signFileType;
    /** 业务编号(处方编号、病例编号) */
    private String bizSn;

    /**
     * 预签名后生成的唯一标识
     */
    private String unionId;
    /** 患者年龄 */
    private String patientAge;
    /** 患者姓名 */
    private String patientName;
    /** 患者性别(0:女, 1:男) */
    private Integer patientGender;
    /** 单据创建时间 */
    private Date createdAt;
    /** PDF文件绝对路径 */
    private String pdfPath;

    /**
     * 签名文件生成地址
     */
    private String outputPath;
    /**
     * 签章关键字
     */
    private String keyword;
    /**
     * 签章位置横坐标
     */
    private Float stampX;
    /**
     * 签章位置纵坐标
     */
    private Float stampY;
    /**
     * 是否添加时间戳
     */
    @Builder.Default
    private Boolean addSignTime = true;

}
